package com.blueflamedev.effects.plugins
{
	import com.blueflamedev.effects.ParticleSeed;
	
	public class Plugin implements IPlugin
	{
		protected var seedRef:ParticleSeed;
		
		public function set seed(value:ParticleSeed):void
		{
			seedRef = value;
		}
		
		public function get seed():ParticleSeed
		{
			return seedRef;
		}
		
		public function start():void
		{
			if (!seedRef)
				throw new Error("Cannot start the plugin. The plugin's seed property must be set before starting.");
		}
		
		public function stop():void
		{
			
		}
	}
}